<?php 
class Cart extends CWidget {
	
	public $model;
	public $arrStatus;
	public $arrTermsConditions;
	public $type;
	public function init(){
		

		parent::init();
	}
	

	
	public function run(){
		$model = $this->model;
		$arrStatus = $this->arrStatus;
		$arrTermsConditions = $this->arrTermsConditions;
		$type = $this->type;
		// dump($type);
		$this->render('cart',array(
			'model' => $model,
			'type' => $type,
			'arrStatus'				=> CheckOutForm::getState(),
			'arrTermsConditions'	=> CheckOutForm::getTermsConditions()
		));
	}
}
?>
